<!doctype html>
<html>
{include file='common@layout/main' title='Thinkphp 5.0 留言板'}
<body>
<div class="container" style="margin-top:20px;">
    {include file='common@layout/end'}
	<!-- <form class="form-horizontal" action="/oper/add.json" method="post"> -->
	  <div class="form-group">
	    <label class="col-sm-2 control-label">标题</label>
	    <div class="col-sm-10">
	      <input type="text" class="form-control" name="title" placeholder="请输入标题">
	    </div>
	  </div>

	  <div class="form-group">
	    <label  class="col-sm-2 control-label">内容</label>
	    <div class="col-sm-10">
	      {include file='common@layout/editor'}
	    </div>
	  </div>
	  
	  <div class="form-group">
	    <div class="col-sm-offset-2 col-sm-10">
	      <button type="submit" class="btn btn-primary saveContent">发布留言</button>
	    </div>
	  </div>

	<!-- </form> -->
</div>
</body>	
</html>
<script type="text/javascript" src="/static/js/add.js"></script>